package com.jinsi.service.impl;

import com.jinsi.mapper.UserMapper;
import com.jinsi.pojo.User;
import com.jinsi.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User getUserByNameAndPwd(String username, String pwd) {
        return userMapper.getUserByNameAndPwd(username,pwd);
    }
}
